﻿using System;
using Volo.Abp.Auditing;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

namespace HCMS;

[DependsOn(
    typeof(HCMSDomainModule),
    typeof(HCMSApplicationContractsModule)
    )]
public class HCMSApplicationModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        Configure<AbpAutoMapperOptions>(options =>
        {
            options.AddMaps<HCMSApplicationModule>();
        });

        // 关闭 Abp 框架审计日志
        Configure<AbpAuditingOptions>(options =>
        {
            options.IsEnabled = false;
        });
    }
}